//
//  BirthNoticeCollectionViewCell.m
//  fitnessmanage
//
//  Created by wujian on 2018/1/12.
//  Copyright © 2018年 zongquankeji. All rights reserved.
//

#import "BirthNoticeCollectionViewCell.h"

@implementation BirthNoticeCollectionViewCell

-(id)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    
    if (self) {
        
        UILabel *titleLabel = [[UILabel alloc] init];
        titleLabel.font = BoldMidFont;
        titleLabel.textColor = CSColorFromRGB(0x0a0a0a);
        [self.contentView addSubview:titleLabel];
        self.titleLabel = titleLabel;
        
        [self setConstraints];
    }
    
    return self;
}


-(void)setConstraints{
    
    [self.titleLabel mas_remakeConstraints:^(MASConstraintMaker *make) {
       
        make.center.mas_equalTo(self.contentView);
    }];
}
@end
